.padtop {
  padding-top: $home-header-height;
}

.page-index {
  padding-bottom: $tabbar-height;
  line-height: 1;

  .home-body {
    overflow-x: hidden;
    .rmbSymbol {
      font-size: 20px;
    }
    .sp-page-body {
      padding-top: 0;
    }

    > .home-header {
      position: fixed;
      width: 100%;
      background: linear-gradient(180deg, #b6f7de 0%, #f5f6f8 100%);
      height: $home-header-height;
      padding-right: 0;
      padding-left: 27px;
      display: flex;
      align-items: center;

      .home-agentQy {
        height: 36px;
        width: 36px;
        margin-left: 27px;
      }

      .home-logo {
        width: 148px;
        height: 38px;
      }

      .home-header {
        padding-left: 0;
        padding-right: 0;

        .address {
          max-width: 234px;
          font-size: 26px;
          color: #1c1b17;
        }

        .icon-qianwang-01 {
          color: #1c1b17;
        }
      }
    }

    .home-search-box {
      display: flex;
      font-size: 32px;
      align-items: center;
      margin-bottom: 12px;
      padding-right: 30px;
      margin-top: 10px;
      margin-bottom: 20px;

      .home-search {
        flex: 1;
        width: 100%;
        height: 68px;
        border: 2px solid #00db80;
        margin-left: 19px;
        border-radius: 50px 50px 50px 50px;
        padding-left: 30px;
        line-height: 62px;
        font-size: 26px;
        color: #010101;
        box-sizing: border-box;
        position: relative;

        .home-search-but {
          border-radius: 30px 30px 30px 30px;
          position: absolute;
          right: 6px;
          top: 50%;
          transform: translateY(-50%);
          width: 106px;
          height: 50px;
          text-align: center;
          line-height: 50px;
          font-size: 24px;
          color: #fff;
          background-color: #00db80;
        }
      }

      .home-search-but::after {
        display: none;
      }

      .home-search-but {
        width: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 30px;
        border: 0;
        padding: 0;
        border: 0;
        background-color: transparent;

        .home-search-icon {
          width: 36px;
          height: 36px;
        }

        .home-search-txt {
          font-size: 20px;
          line-height: 32px;
          color: #1c1b17;
        }
      }
    }
    .wgt-wrap:nth-child(5) .wgt-navigation {
      border-radius: 24px 24px 0 0;
    }
    .wgt-wrap:nth-child(6) .wgt-navigation {
      border-radius: 0 0 24px 24px;
    }
    .wgt,
    .community,
    .group,
    .season {
      border-radius: 16px;
      overflow: hidden;
    }
    .community {
      background: url('https://b-img-cdn.mimijishi.com/mmjs-vshop/index_bg01.png') no-repeat;
      background-size: 100% 100%;
      margin: 0 20px;
      margin-top: 20px;
      padding-top: 14px;
      &-title {
        padding: 0 14px;
        margin-bottom: 12px;
        margin-right: 16px;
        display: flex;
        align-items: center;
        &-text {
          color: #382e2d;
          font-size: 36px;
          font-family: FZZZHONGHJW;
        }
        &-tag {
          background-color: #fe3034;
          font-size: 18px;
          padding: 4px 6px;
          border-radius: 4px 4px 4px 4px;
          color: #ffffff;
          margin-left: 15px;
        }
      }

      &-list::-webkit-scrollbar {
        display: none;
      }

      &-list {
        height: 120px;
        box-sizing: border-box;
        height: 100%;
        white-space: nowrap;
        position: relative;
        overflow-x: scroll;
        display: flex;
        justify-content: space-around;
        padding: 0 16px 20px;
        &-SwiperItem {
          white-space: nowrap;
        }

        &-item {
          display: inline-block;
          width: 120px;
          height: 120px;
          text-align: center;
          border-radius: 12px;
          overflow: hidden;
          &-img {
            width: 100%;
            height: 100%;
            display: block;
          }
        }
      }
    }

    .group {
      background-color: #FFF;
      // background: url('https://b-img-cdn.mimijishi.com/mmjs-vshop/index_bg01.png') no-repeat;
      height: 188px;
      background-size: 100% 100%;
      margin: 18px 16px 0 0;
      padding: 14px;
      &-title {
        padding: 0 4px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        &-text {
          color: #382e2d;
          font-size: 28px;
          line-height: 28px;
          font-family: FZZZHONGHJW;
        }
        &-tag {
          color: #696460;
          font-size: 18px;
          text-align: right;
          flex: 1;
        }
      }

      &-list::-webkit-scrollbar {
        display: none;
      }

      &-list {

        display: flex;
        align-items: center;
        justify-content: space-between !important;
        // padding: 0 16px;
        box-sizing: border-box;
        min-height: 100px;
        white-space: nowrap;
        position: relative;
        overflow-x: scroll;
        overflow-y: hidden;
        // margin-bottom: 20px;
        &-SwiperItem {
          white-space: nowrap;
        }

        &-item {
          display: inline-block;
          width: 110px;
          // margin: 0 8px;
          text-align: center;

          &-img {
            width: 110px;
            height: 110px;
            .sp-image-img{
              border-radius: 10px !important;
            }
          }

          &-price {
            font-size: 24px;
            color: #fc2d33;
            font-weight: 700;
            background: url('https://b-img-cdn.mimijishi.com/mmjs-vshop/tuangou_bg01.png') no-repeat;
            background-size: 100% 100%;
            display: table;
            padding-left: 6px;
            height: 32px;
            line-height: 32px;
            box-sizing: border-box;
            text-align: right;
            padding-right: 40px;
            margin: 0 auto;
            letter-spacing: -2px;
          }

          &-marketPrice {
            // color: #9a9a9a;
            // text-decoration: line-through;
            font-weight: bold;
            line-height: 36px;
            font-size: 25px;
            color: #FE411C;
          }
        }
      }
    }

    .season {
      background: url('https://b-img-cdn.mimijishi.com/mmjs-vshop/index_bg01.png') no-repeat;
      background-size: 100% 100%;
      margin: 20px 20px;
      padding-top: 14px;

      &-title {
        padding: 0 16px;
        margin-bottom: 12px;
        margin-right: 16px;
        display: flex;
        align-items: center;
        &-text {
          color: #382e2d;
          font-size: 36px;
          font-family: FZZZHONGHJW;
        }
        &-tag {
          background-color: #fc7b04;
          margin-bottom: 8px;
          font-size: 18px;
          padding: 4px 6px;
          border-radius: 4px 4px 4px 4px;
          color: #ffffff;
          margin-left: 15px;
        }
      }

      &-list {
        // height: 220px;
        box-sizing: border-box;
        white-space: nowrap;
        position: relative;
        overflow-x: scroll;

        .test-ph {
          height: 200px;
        }

        .test-h {
          // height: 220px;
          display: flex;
          justify-content: space-around;
        }

        &-item {
          display: flex;
          flex-direction: column;
          align-items: center;
          width: 140px;
          margin: 0 8px;

          &-img {
            width: 140px;
            height: 140px;
            margin-bottom: 8px;
            border-radius: 12px;
          }

          &-price {
            margin-top: 10px;
            display: inline-block;
            text-align: center;
            font-size: 24px;
            color: #fc2d33;
            font-weight: 700;
            padding: 0 14px;
            border-radius: 60px 60px 60px 60px;
            background: #fee3ed;
          }
        }
      }
    }

    // &.has-home-header {
    //   margin-top: $home-header-height;
    // }
    // /*  #ifdef  h5  */
    // &.has-home-header {
    //   margin-top: 0
    // }
    // /*  #endif  */

    // /*  #ifdef  alipay  */
    // &.has-home-header {
    //   margin-top: $home-header-height;
    // }
    // /*  #endif  */
  }
}
